package com.lfy.modules.blog.domain.dto.home;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class PersonalDTO {
    @NotNull
    private Long id;

    @Length(min = 1, max = 20, message = "签名长度必须在1-20之间")
    private String sign;

    @Length(min = 1, max = 20, message = "动态签名长度必须在1-20之间")
    private String dynamicSign;


    private String announcement;


    @Length(min = 1, max = 6, message = "名片名字长度必须在1-6之间")
    private String authorName;

    private Integer authorAge;
    @Length(min = 1, max = 20, message = "名片签名长度必须在1-20之间")
    private String authorSign;


    private Integer authorSex;

    private String siteTime;
    @Length(min = 1, max = 6, message = "站点作者长度必须在1-6之间")
    private String siteAuther;
    @Length(min = 1, max = 15, message = "站点版本长度必须在1-15之间")
    private String siteVersion;
    /**
     *
     */
    @Length(min = 1, max = 6, message = "博客logo长度必须在1-6之间")
    private String blogTitle;
    /**
     *
     */
    @Length(min = 1, max = 14, message = "博客logo英文长度必须在1-14之间")
    private String blogTitleEnglish;

}
